package com.example.demo.service;

import com.example.demo.entity.ArticleImg;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 文章图片表 服务类
 * </p>
 *
 * @author Mr.Yang
 * @since 2024-06-03
 */
public interface IArticleImgService extends IService<ArticleImg> {

    /**
     * 添加文章图片
     * @param articleImg
     * @return
     */
    public boolean addArticleImg(List<ArticleImg> articleImg) ;
    //查询所有文章图片
    public List<ArticleImg> selectAllImg() ;
    //根据文章id查询文章图片
    public List<ArticleImg> selectByArticleId(Integer articleId) ;
}
